﻿<%@ page language="java" pageEncoding="UTF-8"%><!-- 必须是utf-8(css文件的编码为utf-8) -->

<%  
	String context = request.getContextPath();
	String listPath = context + "/component/list";
	String pageImagePath = context + "/component/list/image";//分页的图片路径
%>
<html>
	<head>
		<title>列表</title>

		<link type="text/css" rel="stylesheet" href="<%=listPath%>/css/toolbar.css" /><!-- 工具栏css -->
		<link type="text/css" rel="stylesheet" href="<%=listPath%>/css/list.css" /><!-- 列表css -->
		<link type="text/css" rel="stylesheet" href="<%=listPath%>/css/page.css" /><!-- 分页css -->

		<script>
		<!--
		function setBackgroup(obj){
			obj.children[0].rows[0].cells(0).style.background='url("<%=listPath%>/image/tb-btn-sprite.gif") no-repeat 0 0px';
			obj.children[0].rows[0].cells(1).style.background='url("<%=listPath%>/image/tb-btn-sprite.gif") repeat-x 0 -42px';
			obj.children[0].rows[0].cells(2).style.background='url("<%=listPath%>/image/tb-btn-sprite.gif") no-repeat 0 -21px';
		}
		
		function unsetBackgroup(obj){
			obj.children[0].rows[0].cells(0).style.background='';
			obj.children[0].rows[0].cells(1).style.background='';
			obj.children[0].rows[0].cells(2).style.background='';
			
		}
		
		//-->
		</script>

	</head>
	
	<body>
		<form method="post" action="" >
			<table cellpadding="0" cellspacing="1" bgcolor="#BCBECB" class="list-content-table_3">
				<!--工具栏开始-->
				<tr>
					<td valign="top" bgcolor="#FFFFFF">
						<table width="100%" border="0" align="center" cellpadding="1"
							cellspacing="1">
							<tr class="table_backgroud_5">
								<td height="37">
									<table border="0" width="100%" cellpadding="0" cellspacing="0">
										<tr>
										
											<!-- toolbar开始 -->
											<td nowarp='nowarp' width='100px'>
												<DIV class="x-toolbar x-small-editor">
													<TABLE cellSpacing="0">
														<TBODY>
															<TR>

																<!-- 按钮开始<td> -->
																<TD>
																<TABLE class="x-btn-wrap x-btn-text-icon bdelete x-btn"  style="WIDTH: auto" cellSpacing="0" cellPadding="0" border="0" 
																  onmouseover="setBackgroup(this);" onmouseout="unsetBackgroup(this);">
																	<TBODY>
																		<TR>
																			<TD class="x-btn-left" width="3px" height="21px">
																				<I>&nbsp;</I>
																			</TD>
																			<TD class="x-btn-center" style="padding-left:0; padding-right:0" >
																				<EM unselectable="on">
																					<BUTTON class="x-btn-text" onclick="del();" >
																					 &nbsp;&nbsp; 删除 &nbsp;&nbsp; 
																					</BUTTON>
																				</EM>
																			</TD>
																			<TD class="x-btn-right" width="3px" height="21px"><I>&nbsp;</I></TD>
																		</TR>
																	</TBODY>
																</TABLE>
																</TD>
																<TD><SPAN class="ytb-sep" ></SPAN></TD><!-- 竖线 -->
																<!-- 按钮结束 -->

															</TR>
														</TBODY>
													</TABLE>
												</DIV>
											</td>
											<!-- toolbar结束 -->
											
											<!-- 搜索开始 -->
											<td nowarp='nowarp' align="right" valign="middle">
												<span class="list-content-search">名称：</span>
												<input type="text" name="condition_simple_field" id="title_value_sim" maxLength="50" cid="title_value_sim"	 operation="like" dataType="string"	 property="title" value="" />		
												<input type= "button" onclick="condition_simpleQuery()" class="button_img_1" value="搜索" id="query_button"/>
											</td>
											<!-- 搜索结束 -->
										</tr>
									</table>
								</td>
							</tr>
							<!-- 工具栏结束 -->
							
							<!--导航条开始-->
							<tr>
								<td valign="middle" height="21">
								    <table width="90%" border="0" cellspacing="1" cellpadding="0">
								       	<tr>
								       		<td width="3%" class="cd"></td>
								       		<td width="97%" align="left" class="cd">
								       			<span class="font_black">系统管理-->系统日志 </span>				
												</td>				
								       	</tr>
								     </table>
								 </td>
							</tr>
							<!--导航条结束-->

						</table>

						<!-- 列表和分页开始 -->
						<table width="100%" height="92%" border="0" cellpadding="0" cellspacing="0" border="0">
							<tr>
								<td valign="top" height="100%">
									<div id='contentDiv'>
									<table width='100%' height='100%'>
										<!-- 数据区开始 -->
										<tr height='95%' valign='top'>
											<td>
											<div style='height: 100%; overflow: auto; border: 1px #7d7d7d solid;'>
											<table width='100%' border='0' cellspacing='0' cellpadding='0' style='vertical-align: top'>
												<thead>
													<tr class='list-head-tr'>
														<td class='list-head-td' width='3%'><input type='checkbox'
															id='fidAll' onclick='listObj.selectAll(this)' /></td>
														<td class='list-head-td' width='40%' align='left'>编号</td>
														<td class='list-head-td' width='50%' align='left'>名称</td>
													</tr>
												</thead>
												<tbody style='overflow: visible;'>
													<%for(int i=0;i<41;i++){%>
													<tr>
														<td class='list-body-td' style='border-left: 0px' width='3%'>
															<input type='checkbox' name='fid' value='<%=i%>' />
														</td>
														<td class='list-body-td' value='<%=(i+"" + 1)%>' width='40%' align='left'><%=(i+"" + 1)%></td>
														<td class='list-body-td' value='<%=(i+"" + 2)%>' width='50%' align='left'><%=(i+"" + 2)%></td>
													</tr>
													<%}%>
												</tbody>
											</table>
											</div>
											</td>
										</tr>
										<!-- 数据区结束 -->
										
										<!-- 分页开始 -->
										<tr>
											<td>
											<%//out.println(new PageTemplate(context,null));%>

<table width="100%" border="0" cellpadding="0" cellspacing="0" class="table_backgroud_2">
	<tr>
		<td height="40" align="right">
			<table  border="0" cellspacing="0" cellpadding="0">
          		<tr>
				  <td width="31px" height="40" align="right" valign="top"><img src="<%=pageImagePath%>/e1_46.jpg" width="31" height="40" /></td>
				  <td  valign="middle" class="page_backgroud">
				  	<table width="100%" border="0" cellspacing="0" cellpadding="0">
					  <tr>
						<td width="510px" align="center" class="font_black" nowrap="nowrap" >
						共9条，分1页显示 每页显示
						<input type=text size='2' maxlength='8' class='input-cs-two' onlytype='number' style="ime-mode:Disabled;" onfocus="CheckInput.checkInput(this)" name='logger_pageSizetemp' id='logger_pageSizetemp' value='20' />
						条
						<input type="button" name='onGo' id='onGo' class="button_img_2" value="设定" onclick="if(document.forms[0].elements['logger_pageSizetemp'].value=='') { alert('!');return false;} else {if(document.forms[0].elements['logger_pageSizetemp'].value=='0') {document.forms[0].elements['logger_condition.pageSize'].value ='1';} else { document.forms[0].elements['logger_condition.pageSize'].value =document.forms[0].elements['logger_pageSizetemp'].value;} javascript:document.forms[0].submit();}"/><input type=hidden name='condition.totalCount' id='logger_condition.totalCount' value='1'/>
						<input type=hidden name='condition.pageSize' id='logger_condition.pageSize' value='20'/>
						<input type=hidden name='condition.pageNo' id='logger_condition.pageNo' value='1'/>
						<input type=hidden name='condition.orderFld' id="logger_condition.orderFld" value=''/>
						<input type=hidden name='condition.orderType' id="logger_condition.orderType" value=''/>
						目前是第
						<input type=text size='2' maxlength='6' class='input-cs-two' onlytype='number' style="ime-mode:Disabled;" onfocus="CheckInput.checkInput(this)" name='logger_pagenum' id='logger_pagenum' value='1' />
						页
						<input type="button" name='onGo' id='onGo' class="button_img_2" value="Go" onclick="doGo()"/>								
						</td>
						<td width="9px"  align="center" valign="middle" ><img src="<%=pageImagePath%>/e2_51.jpg" width="5" height="21" /></td>
						<td nowrap="nowrap" width="29px"  align="center" valign="middle" class="font_black">首页</td>
						<td width="20px"  align="center" valign="middle" ><img src="<%=pageImagePath%>/First_no.gif" width="16" height="10" /></td>
						
						<td nowrap="nowrap" width="43px"  align="center" valign="middle" class="font_black">上一页</td>
						<td width="12px"  align="center" valign="middle" ><img src="<%=pageImagePath%>/Pre_no.gif" width="7" height="10" /></td>	
													
						<td width="9px"  align="center" valign="middle" ><img src="<%=pageImagePath%>/e2_51.jpg" width="5" height="21" /></td>	
						
						<td nowrap="nowrap" width="43px"  align="center" valign="middle" class="font_black">下一页</td>		
						<td width="12px"  align="center" valign="middle" ><img src="<%=pageImagePath%>/Next_no.gif" width="6" height="10" /></td>
						
						<td nowrap="nowrap" width="43px"  align="center" valign="middle" class="font_black">末页</td>
						<td nowrap="nowrap" width="20px"  align="center" valign="middle" ><img src="<%=pageImagePath%>/Last_no.gif" width="16" height="10" /></td>
						<td width="29px"  align="center" valign="middle" class="font_black"></td>							
					  </tr>
				  	</table>
				  </td>
		  		  <td width="28px" align="left" valign="top"><img src="<%=pageImagePath%>/e3_49.jpg" width="28" height="40" /></td>
				</tr>
			</table>
		</td>
	</tr>				  
</table>

								</td>
							</tr>
							<!-- 分页结束 -->
						</table>
					</td>
				</tr>
			</table>
		</form>
		
	</body>
</html>
